<template>
  <div>
    <el-menu mode="horizontal" :theme="theme1" active-name="flex">

      <el-menu-item name="flex">flex</el-menu-item>
      <el-menu-item name="grid">grid</el-menu-item>
    </el-menu>
    <div >
      <router-view/>
    </div>
  </div>
</template>

<script>
    export default {
        name: "Links",
        // 对象
        props: {

        },

        data() {
            return {
               theme1:'light'
            };
        },
        watch: {},
        mounted() {
            this.function();
        },
        methods: {
            function() {
            }
        }
    };
</script>

<style scoped></style>
